import 'package:flutter/material.dart';

class Tool {
  static bool isLoginPassword(String input) {
    RegExp mobile = new RegExp(r"(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,20}$");
    return mobile.hasMatch(input);
  }
}